PublishPress\Future\Framework\WordPress\Models\PostModel S

Total Complexity 34
Dependencies 3
Dependents 0
Total lines 256
Lines of code 130
Logical lines of code 59
Comment lines 51
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
getPostInstance()
S
65 4 9
__construct()
S
65 3 10
updateMeta()
S
61 2 13
deleteMeta()
S
62 2 12
getTermIDs()
S
68 2 7
getTermNames()
S
68 2 7
getTerms()
S
66 2 8
getPostId()
S
82 1 3
unstick()
S
77 1 4
stick()
S
77 1 4
delete()
S
79 1 3
setTerms()
S
78 1 3
appendTerms()
S
78 1 3
getPermalink()
S
80 1 3
getPostEditLink()
S
80 1 3
setPostStatus()
S
68 1 8
getPostStatus()
S
80 1 3
getTitle()
S
80 1 3
getPostType()
S
80 1 3
postExists()
S
76 1 4
getMeta()
S
79 1 3
addMeta()
S
79 1 3
update()
S
68 1 7
getPostTypeSingularLabel()
S
76 1 4